package com.lixiang.userinfo.service.impl;

import java.util.HashMap;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.lixiang.userinfo.dao.AccountMapper;
import com.lixiang.userinfo.entity.Account;
import com.lixiang.userinfo.service.IAccountService;
/**
 * 账户业务层实现类
 * @author 李湘
 * @date 2018-10-20
 */
@Service
public class AccountServiceImpl implements IAccountService {
	
	@Autowired
	private AccountMapper accountMapper;//自动注入依赖

	/**
     * 查询账户密码（用于登录匹配账户密码）
     * @param page
     * @param map
     * @return
     */
	public Account selectNamePwd(HashMap<String, Object> map) {
		return accountMapper.selectNamePwd(map);
	}

}
